package com.flea.hclv.service;

import com.flea.hclv.model.entity.SpotTicket;
import com.flea.hclv.util.ServerResponse;
import com.flea.system.bean.FleaPage;

import java.util.List;

public interface HSpotTicketService {

    FleaPage<SpotTicket> selectAll(String userId, int curPage, int pageSize);

    ServerResponse<FleaPage<SpotTicket>> selectBySpotId(String spotId, int curPage, int pageSize, String deptUuid);

    ServerResponse<String> saveOrUpdate(SpotTicket spotTicket, String userId, String spotId);

    boolean deleteByIds(List<String> ids, String userId);

    ServerResponse<FleaPage<SpotTicket>> selectByDeptId(String deptUuid, int curPage, int pageSize, String spotId,String spotName);

    ServerResponse<FleaPage<SpotTicket>> selectBygDeptId(int curPage, int pageSize, String spotName);
}
